# CommandService

Command Service, needs to be used with [Shortcuts](/guide/advanced/interactive/shortcuts.html)

[> API Detail](https://flowgram.ai/auto-docs/command/interfaces/CommandService.html)


```Usage

ctx.get(CommandService).execCommand('selectAll')
```
